package ModelLayer;

public class DVD 
// instance variables
{    
    private long dvdId;
    private String title;
    private String artist;
    private String publicationDate;

    public DVD(long dvdId, String title, String artist, String publicationDate)
    {
        this.dvdId = dvdId;
        this.title = title;
        this.artist = artist;
        this.publicationDate = publicationDate;
    }

    /**
     * sets id
     * @param long newId
       */
    public void setId(long newId)
    {
        dvdId = newId;
    }
    /**
     * sets title
     * @param String newTitle
       */
    public void setTitle(String newTitle)
    {
        title = newTitle;
    }
    /**
     * sets artist
     * @param String newArtist
       */
    public void setArtist(String newArtist)
    {
        artist = newArtist;
    }
    /**
     * sets publicationDate
     * @param String newPublicationDate
       */
    public void setPublicationDate(String newPublicationDate)
    {
        publicationDate = newPublicationDate;
    }
    /**
     * returns dvdId
     * @return long dvdId
       */
    public long getId()
    {
        return dvdId;
    }
    /**
     * returns title
     * @return String title
       */
    public String getTitle()
    {
        return title;
    }
    /**
     * returns artist
     * @return String artist
       */
    public String getArtist()
    {
        return artist;
    }
    /**
     * returns publicationDate
     * @return String publicationDate
       */
    public String getPublicationDate()
    {
        return publicationDate;
    }
}
